import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import  '../Index.less'
Vue.config.productionTip = false
import moment from 'moment'
import {Form,Field,Uploader,Icon,Swipe,SwipeItem,Col,Row,Button,Popup,Cell, CellGroup,Search,List,PullRefresh,Tab, Tabs,NoticeBar,Divider,Skeleton,Notify,Dialog,Toast} from 'vant';

Vue.use(Dialog);
Vue.use(Toast);
Vue.use(Form);
Vue.use(Field);
Vue.use(Uploader);
Vue.use(Icon);
Vue.use(Notify);
Vue.use(Skeleton);
Vue.use(Divider);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(Button);
Vue.use(Popup);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Search);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(NoticeBar);
Vue.prototype.$moment = moment
moment.locale('zh-cn')
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
